package com.xingkeduo.pojo.table;

import com.xingkeduo.pojo.enums.ConsumerStatusEnums;
import com.xingkeduo.util.pojo.base.BaseTable;

import java.util.List;

import org.apache.ibatis.type.Alias;

/**
 * 消费者信息类
 *
 * @author gaozifeng
 * @time 2019年2月18日17:45:29
 * @description
 */
@Alias("consumer")  //别名 和.xml里面一样  mybatis.xml里面 新增表 需要新建对应
public class ConsumerTO extends BaseTable<ConsumerTO> {

    private String login;

    private String name;

    private int fans;

    private int type;

    private ConsumerStatusEnums fStatus;

    private ConsumerStatisticsTO to;

    private ConsumerPrivateTO privateTO;

    private ConsumerFileTO fileTO;

    private List<ConsumerStyleTO> styleList;
    
    
    
    public List<ConsumerStyleTO> getStyleList() {
		return styleList;
	}

	public void setStyleList(List<ConsumerStyleTO> styleList) {
		this.styleList = styleList;
	}

	public ConsumerStatusEnums getfStatus() {
        return fStatus;
    }

    public ConsumerTO setfStatus(ConsumerStatusEnums fStatus) {
        this.fStatus = fStatus;
        return this;
    }

    public ConsumerFileTO getFileTO() {
        return fileTO;
    }

    public ConsumerTO setFileTO(ConsumerFileTO fileTO) {
        this.fileTO = fileTO;
        return this;
    }

    public String getLogin() {
        return login;
    }

    public ConsumerTO setLogin(String login) {
        this.login = login;
        return this;
    }

    public String getName() {
        return name;
    }

    public ConsumerTO setName(String name) {
        this.name = name;
        return this;
    }

    public ConsumerStatisticsTO getTo() {
        return to;
    }

    public ConsumerTO setTo(ConsumerStatisticsTO to) {
        this.to = to;
        return this;
    }

    public ConsumerPrivateTO getPrivateTO() {
        return privateTO;
    }

    public ConsumerTO setPrivateTO(ConsumerPrivateTO privateTO) {
        this.privateTO = privateTO;
        return this;
    }

    public int getFans() {
        return fans;
    }

    public ConsumerTO setFans(int fans) {
        this.fans = fans;
        return this;
    }

    public int getType() {
        return type;
    }

    public ConsumerTO setType(int type) {
        this.type = type;
        return this;
    }

    @Override
    public String toString() {
        return "ConsumerTO{" +
                "login='" + login + '\'' +
                ", name='" + name + '\'' +
                ", fans=" + fans +
                ", type=" + type +
                ", to=" + to +
                ", privateTO=" + privateTO +
                ", fileTO=" + fileTO +
                '}';
    }
}
